package com.example.demo.dao;

import com.example.demo.model.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface StudentDao {
    @Select("select * from student where phone = #{phone}")
    Student findStudent(String phone);
    @Select("select password from student where phone = #{Phone}")
    String findPasswordByPhone(String Phone);
}
